package com.apeli.model;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@Component
public class ApeLiBean implements FactoryBean {
    @Override
    public Object getObject() throws Exception {
        Employee employee = new Employee();
        return employee;
    }

    @Override
    public Class<?> getObjectType() {
        return Employee.class;
    }
}
